<ion-view view-title="保证金支付" class="afpay">
	
	<ion-content class="bg">
		<div class="list">
			<li class="item totalItem">
				支付类型：<span class="money" style="color: rgb(120,120,120);">{{afpay.type}}</span>
			</li>
			<li class="item totalItem">
				订单金额：<span class="money">{{afpay.account|currency:"￥"}}</span>
			</li>
			
			<li class="item kindItem" ng-repeat="payment in order_items.payment" ng-show="payment.id!=null" on-tap="checked($index)">
				<img src="{{payment.logo}}" class="kindImg" ng-class="{'wx':payment.id==3}"/>
				<p class="name" ng-class="{'name2':payment.id==2||payment.id==5}"></p>{{payment.name}}
				<p class="ye" ng-if="payment.id==2&&!afpay.disabled_reason" >余额：{{afpay.advance|currency:"￥"}}</p>
		 		<p class="ye" ng-if="payment.id==2&&afpay.disabled_reason"> {{afpay.disabled_reason}}</p>
		 		<p class="ye" ng-if="payment.id==5">额度：{{afpay.credit|currency:"￥"}}</p>
				<img src="{{payment.checked?'./img/guilin/other/centerout_gx.png':'./img/guilin/other/centerout_no_gx.png'}}" class="selectImg" />
			</li>
			<!--警告-->
			<li class="item warnItem" ng-if="afpay.pay_warning">
				{{afpay.pay_warning}}
			</li>
			
			 	
			<!--线下支付-->	
		 	<div ng-show="isOutLine">
			 	<li class="item padding-5" style="background-color:#FFFFf0">
					<div class="left-zhang margin-bottom-10 stable-bg padding-5 bian_gray" style="width: 48.5%;position: relative;"  ng-repeat="bank in afpay.bank" ng-class="{'col-offset-3':$index%2==1}" on-tap="selectOutLine($event,$index)">
						<i class="icon ion-android-done assertive font-1rem-my" style="position: absolute; right: 5px; top: 0;display: none;"></i>
						<span class="calm">{{bank.account_name}}</span>
						<p class="font-middle-my">{{bank.bank_name}}</p>
						<p class="font-middle-my">{{bank.bank_no}}</p>
					</div>	
				</li>
				<li class="item padding-0 item-input item-borderless" style="background-color:#FFFFf0">
					<span class="input-label">上传凭证：</span>
					<div class="file-show">
						<div class="add input-file" ng-repeat="img in input.image" style="overflow: initial;">
							<img style="width: 100%;height: 100%;" src="{{img.image}}" on-tap="openFileActSheet()">
						</div>
					</div>
					<div class="add input-file" on-tap="doShowFile()">
						<span class="icon ion-plus"></span>
					</div>
					<input id="panica-upfilebutton" type="file" multiple="multiple" accept="image/*" onchange="angular.element(this).scope().onupload(this)" style="display: none;" />
				</li>
			</div>
		</div>
	</ion-content>
	
	<div class="baseBtn" on-tap="openModal_confirm()" ng-if="pay_app_id==2">
		立即支付
		<input type="search" id="inputPass" ng-model="input.password" class="inputPassHide_pay"/>
	</div>
	<div class="baseBtn" on-tap="go_pay()" ng-if="pay_app_id!=2">
		立即支付
	</div>
	
</ion-view>    